package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充电枪记录对象 record
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class cgRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充电记录id */
    private Integer recordId;

    /** 流水号 */
    private String recordNumber;

    /** 充电站id */
    @Excel(name = "充电站id")
    private Integer recordStationId;

    /** 充电枪id */
    @Excel(name = "充电枪id")
    private Integer recordGunId;

    /** 充电度数（度） */
    @Excel(name = "充电度数", readConverterExp = "度=")
    private Double recordAmount;

    /** 充电金额（元） */
    @Excel(name = "充电金额", readConverterExp = "元=")
    private Double recordMoney;

    /** 充电时长（分钟） */
    @Excel(name = "充电时长", readConverterExp = "分=钟")
    private Integer recordDuration;

    /** 订单时间 */
    private Date recordTime;

    public void setRecordId(Integer recordId) 
    {
        this.recordId = recordId;
    }

    public Integer getRecordId() 
    {
        return recordId;
    }

    public void setRecordNumber(String recordNumber) 
    {
        this.recordNumber = recordNumber;
    }

    public String getRecordNumber() 
    {
        return recordNumber;
    }

    public void setRecordStationId(Integer recordStationId) 
    {
        this.recordStationId = recordStationId;
    }

    public Integer getRecordStationId() 
    {
        return recordStationId;
    }

    public void setRecordGunId(Integer recordGunId) 
    {
        this.recordGunId = recordGunId;
    }

    public Integer getRecordGunId() 
    {
        return recordGunId;
    }

    public void setRecordAmount(Double recordAmount) 
    {
        this.recordAmount = recordAmount;
    }

    public Double getRecordAmount() 
    {
        return recordAmount;
    }

    public void setRecordMoney(Double recordMoney) 
    {
        this.recordMoney = recordMoney;
    }

    public Double getRecordMoney() 
    {
        return recordMoney;
    }

    public void setRecordDuration(Integer recordDuration) 
    {
        this.recordDuration = recordDuration;
    }

    public Integer getRecordDuration() 
    {
        return recordDuration;
    }

    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("recordNumber", getRecordNumber())
            .append("recordStationId", getRecordStationId())
            .append("recordGunId", getRecordGunId())
            .append("recordAmount", getRecordAmount())
            .append("recordMoney", getRecordMoney())
            .append("recordDuration", getRecordDuration())
            .append("recordTime", getRecordTime())
            .toString();
    }
}
